Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "Short" CIGAR in SA tag with "Full Length" CIGAR? #287

Closed
wants to merge 4 commits into from

Conversation

Archieyoung
Copy link

Hi Heng,
I'm trying to compute segment mapping identity(both blast identity and Gap-compressed identity) from SA tag. However, I noticed that the CIGAR string in SA tag is in a "Short" format, which make it hard to compute alignment columns, INS size, DEL size and gap open number.

So I replace "Short" CIGAR in SA tag with "Full Length" CIGAR in this commit.

Ignore this pull request if you consider the "Short" one is better.

@armintoepfer
Copy link
Contributor

This will break existing consumers of the SA tag. It must be controlled by a toggle.

@Archieyoung
Copy link
Author

I agree with you. A toggle is needed.

@lh3
Copy link
Owner

lh3 commented Dec 3, 2018

SA is not designed for that purpose. I have to decline the PR. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants